Activate Peer Group on Tenant BGP

Activate BGP peer group under the IPv6 unicast address family of the default VRF.

About this task

Follow this procedure to activate a tenant BGP peer group.

XCO does not activate the BGP peer group when you create a BGP peer group.

Note

Note

  • During upgrade, all the BGP peer groups without an IPv6 listen-range association are deactivated from the IPv6 address-family.
  • An upgrade from XCO 3.2.1 to XCO 3.3.0 and later will refresh all the existing peer groups which are not associated with any IPv6 listen-range.
  • When you upgrade from XCO 3.2.1 to XCO 3.3.0 and later, all the existing peer groups, which are not associated with any IPv6 listen-range, will be refreshed. Within 30 min from the upgrade, an auto DRC gets initiated,and deactivates all such Peer-groups under IPv6 address-family, and moves them back to the in-sync state.
  • Be aware that it takes 15 minutes to get it reflected in device and XCO, and till then XCO reflects it in the drift state. As a best practice, do not perform a manual DRC.

Procedure

Run the following command to activate a BGP peer group:
efa tenant service bgp peer-group <create/update>

Example

efa tenant service bgp peer-group create --tenant "t1" --name "vs" 
         --pg-name 10.20.246.30:v1 --pg-asn 10.20.246.30,v1:5200 
         --pg-ipv6-uc-nbr-activate 10.20.246.30,v1:true 
         --pg-ipv4-uc-nbr-route-map 10.20.246.30,v1:customer_1_in,in 
         --pg-ipv4-uc-nbr-prefix-list 10.20.246.30,v1:customer_1_in,in 
         --pg-name 10.20.246.30:v2 --pg-asn 10.20.246.30,v2:5201 
         --pg-name 10.20.246.30:v3 --pg-asn 10.20.246.30,v3:5203 
         --pg-name 10.20.246.30:v4 --pg-asn 10.20.246.30,v4:5204 
                             
         --pg-name 10.20.246.29:v1 --pg-asn 10.20.246.29,v1:5200 
         --pg-ipv6-uc-nbr-activate 10.20.246.29,v1:true 
         --pg-ipv4-uc-nbr-route-map 10.20.246.29,v1:customer_1_in,in 
         --pg-ipv4-uc-nbr-prefix-list 10.20.246.29,v1:customer_1_in,in 
         --pg-name 10.20.246.29:v2 --pg-asn 10.20.246.29,v2:5201 
         --pg-name 10.20.246.29:v3 --pg-asn 10.20.246.29,v3:5203 
         --pg-name 10.20.246.29:v4 --pg-asn 10.20.246.29,v4:5204
efa tenant service bgp peer create --tenant "t1" --name "vs" 
         --ipv4-uc-dyn-nbr 10.20.246.29,vs:15.16.16.0/28,v1,20 
         --ipv4-uc-dyn-nbr 10.20.246.29,vs:15.16.17.0/28,v3,20 
         --ipv4-uc-dyn-nbr 10.20.246.29,vs:15.16.18.0/28,v4,20 
         --ipv6-uc-dyn-nbr 10.20.246.29,vs:14::/127,v2,10 

         --ipv6-uc-dyn-nbr 10.20.246.29,vs:15::/127,v3,10 
         --ipv4-uc-dyn-nbr 10.20.246.30,vs:15.16.16.0/28,v1,20 
         --ipv4-uc-dyn-nbr 10.20.246.30,vs:15.16.17.0/28,v3,20 
         --ipv4-uc-dyn-nbr 10.20.246.30,vs:15.16.18.0/28,v4,20 
         --ipv6-uc-dyn-nbr 10.20.246.30,vs:14::/127,v2,10 
         --ipv6-uc-dyn-nbr 10.20.246.30,vs:15::/127,v3,10
Rack1-Device1# show runn router bgp
router bgp
 local-as 4200000000
 capability as4-enable
 fast-external-fallover
 neighbor v1 peer-group
 neighbor v1 remote-as 5200
 neighbor v2 peer-group
 neighbor v2 remote-as 5201
 neighbor v3 peer-group
 neighbor v3 remote-as 5203
 neighbor v4 peer-group
 neighbor v4 remote-as 5204
 neighbor 10.20.20.7 remote-as 4200000000
 neighbor 10.20.20.7 next-hop-self
 address-family ipv4 unicast
  network 172.31.254.35/32
  network 172.31.254.185/32
  neighbor v1 prefix-list customer_1_in in
  neighbor v1 route-map in customer_1_in
  maximum-paths 8
  graceful-restart
 !
 address-family ipv4 unicast vrf vs
  redistribute connected
  listen-range 15.16.16.0/28 peer-group v1 limit 20
  listen-range 15.16.17.0/28 peer-group v3 limit 20
  listen-range 15.16.18.0/28 peer-group v4 limit 20
  maximum-paths 8
 !
 address-family ipv6 unicast
  neighbor v1 activate
  neighbor v2 activate
  neighbor v3 activate
 !
 address-family ipv6 unicast vrf vs
  redistribute connected
  listen-range 14::/127 peer-group v2 limit 10
  listen-range 15::/127 peer-group v3 limit 10
  maximum-paths 8
 !
 address-family l2vpn evpn
  graceful-restart
 !
!
Rack1-Device1#
Rack1-Device1# show runn router bgp
router bgp
 local-as 4200000000
 capability as4-enable
 fast-external-fallover
 neighbor v1 peer-group
 neighbor v1 remote-as 5200
 neighbor v2 peer-group
 neighbor v2 remote-as 5201
 neighbor v3 peer-group
 neighbor v3 remote-as 5203
 neighbor v4 peer-group
 neighbor v4 remote-as 5204
 neighbor 10.20.20.6 remote-as 4200000000
 neighbor 10.20.20.6 next-hop-self
 address-family ipv4 unicast
  network 172.31.254.35/32
  network 172.31.254.66/32
  neighbor v1 prefix-list customer_1_in in
  neighbor v1 route-map in customer_1_in
  maximum-paths 8
  graceful-restart
 !
 address-family ipv4 unicast vrf vs
  redistribute connected
  listen-range 15.16.16.0/28 peer-group v1 limit 20
  listen-range 15.16.17.0/28 peer-group v3 limit 20
  listen-range 15.16.18.0/28 peer-group v4 limit 20
  maximum-paths 8
 !
 address-family ipv6 unicast
  neighbor v1 activate
  neighbor v2 activate
  neighbor v3 activate
 !
 address-family ipv6 unicast vrf vs
  redistribute connected
  listen-range 14::/127 peer-group v2 limit 10
  listen-range 15::/127 peer-group v3 limit 10
  maximum-paths 8
 !
 address-family l2vpn evpn
  graceful-restart
 !
!
Rack1-Device1#